package com.redoor.app.stake.basicdata.service.impl;

import com.redoor.app.stake.basicdata.dao.BaseChargerversionInfoMapper;
import com.redoor.app.stake.basicdata.model.BaseChargerversionInfo;
import com.redoor.app.stake.basicdata.service.BaseChargerversionInfoService;
import com.redoornetwork.framework.mybatis.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by DELL on 2018/4/9.
 */
@Service
public class BaseChargerversionInfoServiceImpl extends AbstractService<BaseChargerversionInfo, String> implements BaseChargerversionInfoService {

    @Autowired
    private BaseChargerversionInfoMapper baseChargerversionInfoMapper;

    @Override
    public int insertOrUpdateBaseChargerversionInfo(BaseChargerversionInfo baseChargerversionInfo) {
        return this.baseChargerversionInfoMapper.insertOrUpdateBaseChargerversionInfo(baseChargerversionInfo);
    }
}
